//  Copyright (c) 2008  Yoong-ki Ahn & Youngjin Kim < mexif@googlegroups.com>
//  See the enclosed file COPYING for license information (MIT Licence).
//  If you did not receive this file,
//  see http://www.opensource.org/licenses/mit-license.php.

#define _MEXIFLIB_INSIDE
#include "mexiflib.h"
#include <memory.h>
#include <string.h>
#include <stdio.h>

mexif_pcstr mexif_section_type_str[_MEXIF_SECTION_COUNT] = 
{
    MEXIF_UNICODE("UNKNOWN"),
    MEXIF_UNICODE("IFD_0"),
    MEXIF_UNICODE("IFD_1"),
    MEXIF_UNICODE("Exif"),
    MEXIF_UNICODE("GPS"),
    MEXIF_UNICODE("InterOp"),
    MEXIF_UNICODE("MakerNote"),
};

mexif_pcstr	mexif_maker_str[_MEXIF_MAKER_COUNT] =
{
	MEXIF_UNICODE("UNKNOWN"),
	MEXIF_UNICODE("AGFA"),
	MEXIF_UNICODE("CANON"),
	MEXIF_UNICODE("CASIO"),
	MEXIF_UNICODE("EPSON"),
	MEXIF_UNICODE("FUJIFILM"),
	MEXIF_UNICODE("KODAK"),
	MEXIF_UNICODE("KONIKA"),
	MEXIF_UNICODE("MINOLTA"),
	MEXIF_UNICODE("KYOCERA"),
	MEXIF_UNICODE("NIKON"),
	MEXIF_UNICODE("OLYMPUS"),
	MEXIF_UNICODE("PANASONIC"),
	MEXIF_UNICODE("PENTAX"),
	MEXIF_UNICODE("POLAROID"),
	MEXIF_UNICODE("RICOH"),
	MEXIF_UNICODE("SAMSUNG"),
	MEXIF_UNICODE("SANYO"),
	MEXIF_UNICODE("SIGMA"),
	MEXIF_UNICODE("SHARP"),
	MEXIF_UNICODE("SONY"),
	MEXIF_UNICODE("TOSHIBA")
};

mexif_pcstr MEXIF_API mexif_get_section_type_str( mexif_uint32 ui ) 
{
	MEXIF_ASSERT( ui < _MEXIF_SECTION_COUNT );
	if ( ui >= _MEXIF_SECTION_COUNT )
		return 0;
	return mexif_section_type_str[ui];
}

mexif_pcstr MEXIF_API mexif_get_maker_str( mexif_uint32 ui ) 
{
	MEXIF_ASSERT( ui < _MEXIF_MAKER_COUNT );
	if ( ui >= _MEXIF_MAKER_COUNT )
		return 0;
	return mexif_maker_str[ui];
}

